package com.supermap.application.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

/**
 * 年报单位数据实体
 */
@Entity
@Table(name = "T_MICRODATA_2017")
public class TEnterpriseProfile {

    //id
    private int id;
    //统一社会信用代码
    private String B00001;
    //行业代码
    private String A00011;
    //单位详细名称
    private String A00002;
    //组织机构代码
    private String B101;

    //报表类型
    private String B104;
    //建筑物编码
    private String A00052;
    //建筑物名称
    private String A00078;
    //所在园区区划代码
    private String A00004;
    //园区编码
    private String A00079;

    //营业收入
    private int A301;
    //主营业务收入
    private int A00302;
    //营业税金及附加
    private int A00303;
    //资产总计
    private int A00075;
    //从业人员期末人数
    private int B1921;




    public TEnterpriseProfile() {}

    public TEnterpriseProfile(int id, String b00001, String a00011, String a00002, String b101,
                              String b104, String a00052, String a00078, int a301, int a00302,
                              int a00303, int a00075, int b1921, String a00079) {
        this.id = id;
        B00001 = b00001;
        A00011 = a00011;
        A00002 = a00002;
        B101 = b101;
        B104 = b104;
        A00052 = a00052;
        A00078 = a00078;
        A301 = a301;
        A00302 = a00302;
        A00303 = a00303;
        A00075 = a00075;
        B1921 = b1921;
        A00079 = a00079;
    }

    @GenericGenerator(name = "generator", strategy = "increment")
    @Id
    @GeneratedValue(generator = "generator")
    @Column(name = "ID", unique = true, nullable = false, precision = 10, scale = 0)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Column(name = "B00001", length = 255)
    public String getB00001() {
        return B00001;
    }

    public void setB00001(String b00001) {
        B00001 = b00001;
    }

    @Column(name = "A00011", length = 255)
    public String getA00011() {
        return A00011;
    }

    public void setA00011(String a00011) {
        A00011 = a00011;
    }

    @Column(name = "A00002", length = 255)
    public String getA00002() {
        return A00002;
    }

    public void setA00002(String a00002) {
        A00002 = a00002;
    }

    @Column(name = "B101", length = 255)
    public String getB101() {
        return B101;
    }

    public void setB101(String b101) {
        B101 = b101;
    }

    @Column(name = "B104", length = 255)
    public String getB104() {
        return B104;
    }

    public void setB104(String b104) {
        B104 = b104;
    }

    @Column(name = "A00052", length = 255)
    public String getA00052() {
        return A00052;
    }

    public void setA00052(String a00052) {
        A00052 = a00052;
    }

    @Column(name = "A00078", length = 255)
    public String getA00078() {
        return A00078;
    }

    public void setA00078(String a00078) {
        A00078 = a00078;
    }

    @Column(name = "A301", length = 255)
    public int getA301() {
        return A301;
    }

    public void setA301(int a301) {
        A301 = a301;
    }

    @Column(name = "A00302", length = 255)
    public int getA00302() {
        return A00302;
    }

    public void setA00302(int a00302) {
        A00302 = a00302;
    }

    @Column(name = "A00303", length = 255)
    public int getA00303() {
        return A00303;
    }

    public void setA00303(int a00303) {
        A00303 = a00303;
    }

    @Column(name = "A00075", length = 255)
    public int getA00075() {
        return A00075;
    }

    public void setA00075(int a00075) {
        A00075 = a00075;
    }

    @Column(name = "B1921", length = 255)
    public int getB1921() {
        return B1921;
    }

    public void setB1921(int b1921) {
        B1921 = b1921;
    }

    @Column(name = "A00079", length = 255)
    public String getA00079() {
        return A00079;
    }

    public void setA00079(String a00079) {
        A00079 = a00079;
    }

    @Column(name = "A00004", length = 255)
    public String getA00004() {
        return A00004;
    }

    public void setA00004(String a00004) {
        A00004 = a00004;
    }
}
